includes\api\WTV_Products A

Total Complexity 57
Dependencies 8
Dependents 5
Total lines 390
Lines of code 228
Logical lines of code 133
Comment lines 107
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
sync()
A
39 13 59
update_stock_from_visma()
A
48 9 31
update_price_from_visma()
S
53 5 21
exists_in_visma()
S
54 5 20
get_variation_name()
S
55 5 19
is_synced()
S
62 4 11
get_all_product_ids()
S
63 2 11
get()
S
62 2 11
get_product()
S
67 2 7
get_visma_article_id()
S
68 2 7
is_variation()
S
71 2 6
sanitize_description()
S
77 1 3
sanitized_sku()
S
78 1 3
set_visma_product_id()
S
73 1 5
get_account_coding()
S
78 1 3
has_variations()
S
67 1 8
truncate_over_fifty()
S
78 1 3